package com.lwd.bean.base;

import java.io.Serializable;
import java.util.Date;

/**
 * 所有的数据库类都继承这个
 */
public class BaseModel implements Serializable {
    /**
     * 店铺ID (这个shopId 不是 taobao.shop.get 接口获取的sid 可能是店铺在本应用的唯一ID)
     */
    protected Long shopId;
    /**
     * 是否删除
     */
    private Boolean isDeleted;

    private Date gmtCreated;

    private Date gmtModified;

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
}
